package com.yuncheng.spcyApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.spcyApi.entity.SpcySqsxLjzlMydBasic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuncheng.spcyApi.vo.sqsx.LjzlMydBasicVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 审评查验-检查员廉洁自律和满意度基本信息
 * @Author: yuncheng
 * @Date: 2023-04-18
 * @Version: V1.0
 */
public interface SpcySqsxLjzlMydBasicMapper extends BaseMapper<SpcySqsxLjzlMydBasic> {

    /** 满意度调查问卷统计-分页查询 */
    Page<LjzlMydBasicVo> queryPageList(Page<LjzlMydBasicVo> page, @Param("bean") LjzlMydBasicVo basic);

    /** 满意度调查问卷统计-分页查询 */
    List<LjzlMydBasicVo> queryList(Page<LjzlMydBasicVo> page, @Param("bean") LjzlMydBasicVo basic);

    /** 满意度调查问卷-是否已经提交 */
    List<String> selectFsftjByFsqsxid(@Param("sqsxid") String sqsxid);

    /** 查询满意度调查问卷id-根据申请事项id */
    List<String> selectIdByFsqsxid(@Param("sqsxid") String sqsxid);
}
